Release 10.1A: OpenEdge Development:
Progress 4GL Handbook
Canceling a subscription
You can also cancel the effect of a
SUBSCRIBEstatement by using theUNSUBSCRIBEstatement:
As with the
SUBSCRIBEstatement, the default is thatUNSUBSCRIBEcancels one or more events for the current procedure. Otherwise, you can use thePROCEDUREsubscriber-handlephrase. You can unsubscribe a specificevent-nameorALLevents. If you include theINpublisher-handlephrase, then theevent-namesubscription orALLevents, as specified, are canceled only in that handle. If you specifyALLevents without apublisher-handle, then all thesubscriber-handle’s subscriptions are canceled.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |